Add 0010-Rename-infodir-to-buildinfodir-in-doc-Makefile.in-GN.patch.
authorRob Browning <rlb@defaultvalue.org>
Wed, 20 Jun 2012 04:26:20 +0000 (23:26 -0500)
committerRob Browning <rlb@defaultvalue.org>
Wed, 20 Jun 2012 04:26:33 +0000 (23:26 -0500)
1  2 
debian/.git-dpm
debian/patches/0010-Rename-infodir-to-buildinfodir-in-doc-Makefile.in-GN.patch
debian/patches/series

diff --cc debian/.git-dpm
index 949f7e3b8662e4ffae80cc34d77865f3fa7040bc,0000000000000000000000000000000000000000..ad3c367bd190dc516ae0e0e3b55143520edae8ce
mode 100644,000000..100644
--- /dev/null
@@@ -1,8 -1,0 +1,8 @@@
- fe2769bc74dc588c74c43b295292f83b504d6345
- fe2769bc74dc588c74c43b295292f83b504d6345
 +# see git-dpm(1) from git-dpm package
++c29cccb1d825523faf484808a699959766d71348
++c29cccb1d825523faf484808a699959766d71348
 +dccb7aff653035782f95e87102338cabcd318122
 +dccb7aff653035782f95e87102338cabcd318122
 +emacs24_24.1+1.orig.tar.bz2
 +2972501e3ab8e7b52e9e476527053b76199f8086
 +25170918
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..eb734ed5daed341ace43e8a7948e76b480722d5b
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,82 @@@
++From c29cccb1d825523faf484808a699959766d71348 Mon Sep 17 00:00:00 2001
++From: Rob Browning <rlb@defaultvalue.org>
++Date: Tue, 19 Jun 2012 23:26:11 -0500
++Subject: Rename infodir to buildinfodir in doc/*/Makefile.in (GNU bug#11737)
++
++Overriding both DESTDIR and infodir during make install should now work.
++
++The Emacs build process will no longer try to write directly to
++infodir when both DESTDIR and infodir are overridden during make
++install.  Previously, given
++
++  make DESTDIR=/tmp/build infodir=/usr/share/info/emacs-24 install
++
++the build process would attempt to write directly to infodir.
++
++Origin: upstream, commit: fb0219efd1196df7de538a27159367b8220b9a8a
++Bug: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11737
++Applied-By: Rob Browning <rlb@defaultvalue.org>
++Applied-Upstream: Fixed in Emacs 24
++---
++ doc/misc/Makefile.in |   14 +++++++-------
++ 1 file changed, 7 insertions(+), 7 deletions(-)
++
++diff --git a/doc/misc/Makefile.in b/doc/misc/Makefile.in
++index f28746f..f274153 100644
++--- a/doc/misc/Makefile.in
+++++ b/doc/misc/Makefile.in
++@@ -26,14 +26,14 @@ srcdir=@srcdir@
++ 
++ # Tell make where to find source files; this is needed for the makefiles.
++ # Note the other doc Makefiles do not use VPATH anymore, instead
++-# they set infodir to an absolute path.  Not doing that here in
+++# they set buildinfodir to an absolute path.  Not doing that here in
++ # case INFO_TARGETS gets too long for some feeble shells.
++ # (cf src/Makefile.in's passing of $lisp to make-docfile)
++ VPATH=@srcdir@
++ 
++ ## Where the output files go.
++ ## Note that the setfilename command in the .texi files assumes this.
++-infodir=../../info
+++buildinfodir=../../info
++ ## Directory with emacsver.texi.
++ ## Currently only used by efaq and calc.
++ emacsdir = $(srcdir)/../emacs
++@@ -45,7 +45,7 @@ MAKEINFO_OPTS = --force -I$(emacsdir)
++ 
++ # Also add new entries to INFO_FILES in the top-level Makefile.in.
++ INFO_TARGETS = \
++-     $(infodir)/efaq
+++     $(buildinfodir)/efaq
++ 
++ DVI_TARGETS = \
++      faq.dvi
++@@ -61,7 +61,7 @@ TEXI2PDF = texi2pdf
++ ENVADD = TEXINPUTS="$(srcdir):$(emacsdir):$(TEXINPUTS)" \
++          MAKEINFO="$(MAKEINFO) $(MAKEINFO_OPTS)"
++ 
++-mkinfodir = @cd ${srcdir}; test -d ${infodir} || mkdir ${infodir} || test -d ${infodir}
+++mkinfodir = @cd ${srcdir}; test -d ${buildinfodir} || mkdir ${buildinfodir} || test -d ${buildinfodir}
++ 
++ .PHONY: info dvi pdf
++ 
++@@ -83,8 +83,8 @@ pdf: $(PDF_TARGETS)
++ # Note: "<" is not portable in ordinary make rules.
++ 
++ ## "short" target names for convenience, to just rebuild one manual.
++-efaq : $(infodir)/efaq
++-$(infodir)/efaq: faq.texi $(emacsdir)/emacsver.texi
+++efaq : $(buildinfodir)/efaq
+++$(buildinfodir)/efaq: faq.texi $(emacsdir)/emacsver.texi
++      $(mkinfodir)
++      cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) faq.texi
++ faq.dvi: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
++@@ -114,7 +114,7 @@ clean: mostlyclean
++ distclean: clean
++ #    rm -f Makefile
++ 
++-## infodir is relative to srcdir.
+++## buildinfodir is relative to srcdir.
++ maintainer-clean: distclean
++      cd $(srcdir); for file in $(INFO_TARGETS); do \
++        rm -f $${file} $${file}-[1-9] $${file}-[1-9][0-9]; \
index 314b67003ffd09b300ae23633a3fd902c81b9eb2,0000000000000000000000000000000000000000..ce6a446d56ad0bb37aeccb51908c801df5a25740
mode 100644,000000..100644
--- /dev/null
@@@ -1,9 -1,0 +1,10 @@@
 +0001-Prefer-usr-share-info-emacs-24-over-usr-share-info.patch
 +0002-Run-debian-startup-and-set-debian-emacs-flavor.patch
 +0003-Remove-files-that-appear-to-be-incompatible-with-the.patch
 +0004-Adjust-documentation-references-for-Debian.patch
 +0005-Modify-the-output-of-version-to-indicate-Debian-modi.patch
 +0006-Look-for-NEWS-in-order-to-find-etc-rather-than-GNU.patch
 +0007-Invoke-the-correct-xmlstarlet-executable-on-Debian-s.patch
 +0008-Fix-startup-hang-on-Debian-GNU-kFreeBSD.patch
 +0009-Restore-doc-emacs-emacsver.texi.patch
++0010-Rename-infodir-to-buildinfodir-in-doc-Makefile.in-GN.patch